package ehui;

public class C {
	public static void main(String[] args) {
		B b = new B();
		if (b.getClass().isAnnotationPresent(A.class)) {
			A a = b.getClass().getAnnotation(A.class);
			System.out.println(a.color());
			System.out.println(a.value());
			System.out.println(a.arrayAttr()[0]);
			System.out.println(a.lamp());
			System.out.println(a.annotationAttr().value());
		}

	}
}
